// 首页列表
export const tabulationAPI = 'https://apis.netstart.cn/mogujie/homeNav.json'

// 首页导航
export const NavigationAPI = (id) => `https://apis.netstart.cn/mogujie/video/item?page=${id}`

// 分类页的左列(left)
export const TypeAPI = 'https://apis.netstart.cn/mogujie/category.json'

// 分类的详情右列上(right-top)
export const TypeDetailedRightTopAPT = (id) => `https://apis.netstart.cn/mogujie/category/getSub?pid=${id}`

// 分类的详情右列下(right-but)
export const TypeDetailedRightButtonAPT = (id,type) => `https://apis.netstart.cn/mogujie/category/miniWall?fcid=${id}&page=2&sort=${type}`

// 热门搜索
export const TopSearchAPI = 'https://apis.netstart.cn/mogujie/hotSearch.json'

// 搜索框搜索
export const SearchTextAPI = (text) => `https://apis.netstart.cn/mogujie/search/searchByKeyword?fcid=20005531&page&sort=pop&minPrice=50&maxPrice=80&offset=30&q=${text}`

// 搜索结果页搜索 
export const SearchResultAPI = (text,minPrice,maxPrice,pop) => `https://apis.netstart.cn/mogujie/search/searchByKeyword?fcid=20005531&page&sort=${pop}&minPrice=${minPrice}&maxPrice=${maxPrice}&offset=30&q=${text}`

// 视频页评论 (获取不到数据)
export const commentAPI = (itemId,actorId) => `https://apis.netstart.cn/mogujie/video/detail?itemId=${itemId}&actorId=${actorId}`

